def round_sum(a, b, c):
  if a % 10 < 5:
    a = a - a % 10
  if b % 10 < 5:
    b = b - b % 10
  if c % 10 < 5:
    c = c - c % 10
  if a % 10 >= 5:
    a = a + (10 - a % 10)
  if b %10 >= 5:
    b = b + (10 - b % 10)
  if c % 10 >= 5:
    c = c + (10 - c % 10)
  return a + b + c
